package yingke.com.yingke.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 *Activity的基类
 */
public abstract class BaseActivity extends AppCompatActivity{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }
    @Override
    protected void onResume() {
        super.onResume();
        //做数据统计
    }
    @Override
    protected void onPause() {
        super.onPause();
        //做数据统计
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
    }
    //用于初始化view控件
    public abstract void initView();
}
